package jmine.tec.persist.hibernate.filter.domain;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
@GenericGenerator(name = "mygenerator", strategy = "jmine.tec.persist.hibernate.filter.support.HashIdentityGenerator")
public class UnionParent {

    @Id
    @GeneratedValue(generator = "mygenerator")
    public Long id;
    
}
